package top.tangyh.lamp.care.vo.result;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.tangyh.lamp.care.entity.BHl7MoveDetail;

import java.time.LocalDateTime;
import java.util.Date;

import static top.tangyh.lamp.model.constant.Condition.LIKE;


@Data
@Schema(description = "归档记录信息类")
public class MoveInfoOutVO {

    private Long id;

    @Schema(description = "科室id")
    private String deptIdent;

    @Schema(description = "科室名")
    private String deptName;

    @Schema(description = "病区名称")
    private String wardName;

    @Schema(description = "原病区名称")
    private String oldWardName;
    @Schema(description = "原科室id")
    private String oldDeptIdent;

    @Schema(description = "原科室名")
    private String oldDeptName;

    @Schema(description = "转出时间")
    private LocalDateTime zcTime;

    @Schema(description = "转入时间")
    private LocalDateTime zrTime;

    @Schema(description = "是否非计划性")
    private Integer notPlan;


//    @Schema(description = "之前病区名称")
//    private String oldRoom;

    @Schema(description = "住院号")
    private String hospitalNumber;


//    public MoveInfoOutVO(BHl7MoveDetail moveDetailPO) {
//        this.id = moveDetailPO.getId();
//        this.deptIdent = moveDetailPO.getDeptIdent();
//        this.deptName = moveDetailPO.getDeptName();
//        this.zrTime = moveDetailPO.getZrTime();
//        this.zcTime = moveDetailPO.getZcTime();
//        this.notPlan = moveDetailPO.getIsNotPlan();
//        this.oldDeptIdent = moveDetailPO.getOldDeptIdent();
//        this.oldDeptName = moveDetailPO.getOldDeptName();
//        this.hospitalNumber = moveDetailPO.getHospitalNumber();
//    }

}
